<!--
	表單中傳遞兩個參數"name"與"password"，注意表單的"method"屬性設定為"POST"，這樣Spring才會將請求參數填入表單物件中 
 -->

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body> 
<p>SimpleFormController, 登入畫面</p>

<form action="/SpringMVC/simpleFormController.do" method="post">
<P>naem:<input type="text" name="name"/></P>
<P>password:<input type="password" name="password"/></P>
<p><input type="submit" value="OK"/></p>
</form>

<P>如果沒有登入(直接到 simpleFormController.do)或帳號密碼輸入錯誤, 會直接跳到這一頁</P>
</body>
</html>